#! /bin/bash

BACKPWD=${PWD}

##  realpath: */anywhere/bash/<this>
export ANYWHERE=$(dirname $(realpath ${BASH_SOURCE[0]}))
cd ${ANYWHERE}

source tools/bashtools

### corkline
#if [ ! -d ./ooops ]; then
#    git clone https://gitee.com/ihateu/ooops
#fi
#cd ooops && source ./pretty.env && cd -

### vim
export VIMINIT="source ${ANYWHERE}/vim/anywhere.vim"

### alias
alias anywhere="cd $ANYWHERE"
alias sl="echo 'take it easy :)'"
alias dc="echo 'take it easy :)'"
alias gs="git status -sb"
alias gs.a="git add"

cd ${BACKPWD}
unset BACKPWD


